package com.wqtz.chechai.bean;

import java.util.List;

/**
 * 项目名称： CheChai
 * 创建人 : Liberation
 * 创建时间: 2016/12/23 10:16
 */

public class Province {

	@Override
	public String toString() {
		return "Province{" +
				"reason='" + reason + '\'' +
				", error_code=" + error_code +
				", result=" + result +
				'}';
	}

	/**
	 * reason : 成功返回
	 * result : [{"proID":"1","proName":"北京市","pinyin":"beijing","pin":"B","logo":null,"hits":"0"},{"proID":"2","proName":"天津市","pinyin":"tianjin","pin":"T","logo":null,"hits":"0"},{"proID":"3","proName":"上海市","pinyin":"shanghai","pin":"S","logo":null,"hits":"0"},{"proID":"4","proName":"重庆市","pinyin":"chongqing","pin":"C","logo":null,"hits":"0"},{"proID":"5","proName":"河北省","pinyin":"hebei","pin":"H","logo":null,"hits":"0"},{"proID":"6","proName":"山西省","pinyin":"shanxi","pin":"S","logo":null,"hits":"0"},{"proID":"7","proName":"台湾省","pinyin":"taiwan","pin":"T","logo":null,"hits":"0"},{"proID":"8","proName":"辽宁省","pinyin":"liaoning","pin":"L","logo":null,"hits":"0"},{"proID":"9","proName":"吉林省","pinyin":"jilin","pin":"J","logo":null,"hits":"0"},{"proID":"10","proName":"黑龙江省","pinyin":"heilongjiang","pin":"H","logo":null,"hits":"0"},{"proID":"11","proName":"江苏省","pinyin":"jiangsu","pin":"J","logo":null,"hits":"0"},{"proID":"12","proName":"浙江省","pinyin":"zhejiang","pin":"Z","logo":null,"hits":"0"},{"proID":"13","proName":"安徽省","pinyin":"anhui","pin":"A","logo":null,"hits":"0"},{"proID":"14","proName":"福建省","pinyin":"fujian","pin":"F","logo":null,"hits":"0"},{"proID":"15","proName":"江西省","pinyin":"jiangxi","pin":"J","logo":null,"hits":"0"},{"proID":"16","proName":"山东省","pinyin":"shandong","pin":"S","logo":null,"hits":"0"},{"proID":"17","proName":"河南省","pinyin":"henan","pin":"H","logo":null,"hits":"0"},{"proID":"18","proName":"湖北省","pinyin":"hubei","pin":"H","logo":null,"hits":"0"},{"proID":"19","proName":"湖南省","pinyin":"hunan","pin":"H","logo":null,"hits":"0"},{"proID":"20","proName":"广东省","pinyin":"guangdong","pin":"G","logo":null,"hits":"0"},{"proID":"21","proName":"甘肃省","pinyin":"gansu","pin":"G","logo":null,"hits":"0"},{"proID":"22","proName":"四川省","pinyin":"sichuan","pin":"S","logo":null,"hits":"0"},{"proID":"24","proName":"贵州省","pinyin":"guizhou","pin":"G","logo":null,"hits":"0"},{"proID":"25","proName":"海南省","pinyin":"hainan","pin":"H","logo":null,"hits":"0"},{"proID":"26","proName":"云南省","pinyin":"yunnan","pin":"Y","logo":null,"hits":"0"},{"proID":"27","proName":"青海省","pinyin":"qinghai","pin":"Q","logo":null,"hits":"0"},{"proID":"28","proName":"陕西省","pinyin":"shan_xi","pin":"S","logo":null,"hits":"0"},{"proID":"29","proName":"广西壮族自治区","pinyin":"guangxi","pin":"G","logo":"images/province/29.jpg","hits":"0"},{"proID":"30","proName":"西藏自治区","pinyin":"xizang","pin":"X","logo":null,"hits":"0"},{"proID":"31","proName":"宁夏回族自治区","pinyin":"ningxia","pin":"N","logo":null,"hits":"0"},{"proID":"32","proName":"新疆维吾尔自治区","pinyin":"xinjiang","pin":"X","logo":null,"hits":"0"},{"proID":"33","proName":"内蒙古自治区","pinyin":"neimenggu","pin":"N","logo":null,"hits":"0"},{"proID":"34","proName":"澳门特别行政区","pinyin":"aomen","pin":"A","logo":null,"hits":"0"},{"proID":"35","proName":"香港特别行政区","pinyin":"xianggang","pin":"X","logo":null,"hits":"0"}]
	 * error_code : 0
	 */


	private String reason;
	private int error_code;
	private List<ResultBean> result;

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public int getError_code() {
		return error_code;
	}

	public void setError_code(int error_code) {
		this.error_code = error_code;
	}

	public List<ResultBean> getResult() {
		return result;
	}

	public void setResult(List<ResultBean> result) {
		this.result = result;
	}

	public static class ResultBean {
		/**
		 * proID : 1
		 * proName : 北京市
		 * pinyin : beijing
		 * pin : B
		 * logo : null
		 * hits : 0
		 */

		private String proID;
		private String proName;
		private String pinyin;
		private String pin;
		private Object logo;
		private String hits;

		public String getProID() {
			return proID;
		}

		public void setProID(String proID) {
			this.proID = proID;
		}

		public String getProName() {
			return proName;
		}

		public void setProName(String proName) {
			this.proName = proName;
		}

		public String getPinyin() {
			return pinyin;
		}

		public void setPinyin(String pinyin) {
			this.pinyin = pinyin;
		}

		public String getPin() {
			return pin;
		}

		public void setPin(String pin) {
			this.pin = pin;
		}

		public Object getLogo() {
			return logo;
		}

		public void setLogo(Object logo) {
			this.logo = logo;
		}

		public String getHits() {
			return hits;
		}

		public void setHits(String hits) {
			this.hits = hits;
		}

		@Override
		public String toString() {
			return "ResultBean{" +
					"proID='" + proID + '\'' +
					", proName='" + proName + '\'' +
					", pinyin='" + pinyin + '\'' +
					", pin='" + pin + '\'' +
					", logo=" + logo +
					", hits='" + hits + '\'' +
					'}';
		}
	}
}
